<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('所属国家')}:</label>
        <div class="col-xs-12 col-sm-8">
          <input id="c-pid" data-rule="required" data-source="area/indexCountry" data-params='{"custom[in_out]":"2","custom[area_type]":"1","custom[level]":"2"}' class="form-control selectpage" name="row[pid]" type="text" value="{$row.pid}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('城市名')}:</label>
        <div class="col-xs-12 col-sm-8">
          <input id="c-name" class="form-control" name="row[name]" type="text" value="{$row.name}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('城市代码')}:</label>
        <div class="col-xs-12 col-sm-8">
          <input id="c-area_code" data-rule="required" class="form-control" name="row[area_code]" type="text" value="{$row.area_code}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('热门城市')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
            {foreach name="isHotList" item="vo"}
            <label for="row[is_hot]-{$key}"><input id="row[is_hot]-{$key}" name="row[is_hot]" type="radio" value="{$key}" {in name="key" value="$row.is_hot"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
